package com.esunrising.esungsc.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "T_API_XM")
@ApiModel(description = "核算项目字典")
@EqualsAndHashCode(callSuper = true)
public class TApiXm extends BaseEntity{

  @Column(name = "PERMISSIONCLASSES")
  private String permissionclasses;
  @Column(name = "CUSITEMNAME_CHT")
  private String cusitemnameCht;
  @Column(name = "CUSITEMNAME_CHS")
  private String cusitemnameChs;
  @Column(name = "SIGNATURE")
  private String signature;
  @Column(name = "TIMESTAMP_LASTCHANGEDON")
  private LocalDateTime timestampLastchangedon;
  @Column(name = "TIMESTAMP_CREATEDBY")
  private String timestampCreatedby;
  @Column(name = "TIMESTAMP_LASTCHANGEDBY")
  private String timestampLastchangedby;
  @Column(name = "CUSITEMPROPERTY")
  private String cusitemproperty;
  @Id
  @Column(name = "ID")
  private String id;
  @Column(name = "TIMESTAMP_CREATEDON")
  private LocalDateTime timestampCreatedon;
  @Column(name = "ACCOUNTORG")
  private String accountorg;
  @Column(name = "FIYEAR")
  private String fiyear;
  @Column(name = "TYPENAME")
  private String typename;
  @Column(name = "ALLOWADDLOWER")
  private String allowaddlower;
  @Column(name = "MNEMONICCODE")
  private String mnemoniccode;
  @Column(name = "TREEINFO_PATH")
  private String treeinfoPath;
  @Column(name = "ORGCODE")
  private String orgcode;
  @Column(name = "ISCOMPLETED")
  private String iscompleted;
  @Column(name = "TREEINFO_ISDETAIL")
  private String treeinfoIsdetail;
  @Column(name = "ORGNAME")
  private String orgname;
  @Column(name = "ISDISABLED")
  private String isdisabled;
  @Column(name = "PARENT_TREEINFO_PATH")
  private String parentTreeinfoPath;
  @Column(name = "SECURITYLEVEL")
  private String securitylevel;
  @Column(name = "COMPLETEDATE")
  private String completedate;
  @Column(name = "CUSITEMCODE")
  private String cusitemcode;
  @Column(name = "TREEINFO_LAYER")
  private String treeinfoLayer;
  @Column(name = "CUSITEMFULLNAME_CHS")
  private String cusitemfullnameChs;
  @Column(name = "PERMISSIONFLAG")
  private String permissionflag;
  @Column(name = "CUSITEMFULLNAME_CHT")
  private String cusitemfullnameCht;
  @Column(name = "PARENT_CODE")
  private String parentCode;
  @Column(name = "PARENTID")
  private String parentid;
  @Column(name = "CUSITEMCATEGORY")
  private String cusitemcategory;
  @Column(name = "TYPECODE")
  private String typecode;
  @Column(name = "ESUN_API_DWBH")
  private String esunApiDwbh;
  @Column(name = "ESUN_API_ORGID")
  private String esunApiOrgid;
  @Column(name = "ESUN_API_ORGCODE")
  private String esunApiOrgcode;
  @Column(name = "ESUN_API_LEDGER")
  private String esunApiLedger;
  @Column(name = "ESUN_API_UPDATE")
  private String esunApiUpdate;

}
